﻿namespace OneWorks.Utils.Import.Execl
{
    using System;

    [AttributeUsage(AttributeTargets.Property)]
    public class CustomCellAttribute : Attribute
    {


        /// <summary>
        /// 
        /// </summary>
        public CustomCellAttribute()
        {

        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="displayName"></param>
        /// <param name="type"></param>
        public CustomCellAttribute(string displayName, Type type = null)
        {
            DisplayName = displayName;

            Type = type;
        }

        /// <summary>
        /// 显示名称
        /// </summary>
        public string DisplayName { get; set; }


        /// <summary>
        /// 类型
        /// </summary>
        public Type Type { get; set; }
    }
}